var _api_root = "{$_api_root}", api = {
  index: _api_root + "default/index",
  default: {
    indexGetPageConfig: _api_root + "index/diy",
    BusinessPay: _api_root + "Outprice/BusinessPay",
    orderGetPageConfig: _api_root + "index/diy_order",
    msg_order: _api_root + "order/msg_order",
    TuiSongList: _api_root + "order/TuiSongList",
    HeJiangOrder: _api_root + "order/HeJiangOrder",
    cardList:_api_root+"Card/cardlist",
    cardmoren: _api_root + "Card/cardmoren",
    capital: _api_root + "User/capital",
    adimg: _api_root + "index/adimg",
    areaLimit: _api_root + "index/areaLimit",

    store: _api_root + "index/store",
    stores: _api_root + "index/stores",
    site: _api_root + "index/site",
    getarea: _api_root + "Address/getarea",
    user: _api_root + "User/logins",
    statistics: _api_root + "User/statistics",
    userid: _api_root + "User/getUid",
    timelist: _api_root + "Order/Code",
    index: _api_root + "banner/banlist",
    service: _api_root + "index/service",
    classlist: _api_root + "Classlist/clist",
    moneysub: _api_root + "Takeout/BrankMoneySub",
    branklist: _api_root + "Takeout/BrankMoneyList",
    checkcode: _api_root + "Aliyunsms/GetSms",
    phone: _api_root + "User/reg",
    userinfo: _api_root + "User/userinfo",
    userinfos: _api_root + "User/userinfos",
    uploadfile: _api_root + "User/upload",
    attestation: _api_root + "User/attestation",
    login: _api_root + "User/userlogin",
    reset: _api_root + "User/reset",
    addressList: _api_root + "address/addressList",
    addslist: _api_root + "address/addressList",
    Insprice: _api_root + "goods/Insprice",  
    distype: _api_root + "goods/distype",  
    getPhone: _api_root +"business/getPhone",
    homeimg: _api_root + "banner/homeimg",
    mrAddress: _api_root + "address/mrAddress", 
    classBq: _api_root + "User/ClassBiaoQian", 
    defaultsite: _api_root + "address/defaultsite",
    siteupdate: _api_root + "address/siteupdate",
    delAddress: _api_root + "address/delAddress",
    addsadd: _api_root + "address/addlist",
    times: _api_root + "goods/times",
    time_price: _api_root + "goods/price",
    addprice: _api_root + "goods/addprice",
    insertorder: _api_root + "order/insertOrder",
    
    insertorders: _api_root + "order/insertOrders",
    orderpay: _api_root + "order/orderPayParams",
    orderlist: _api_root + "order/getOrderLists",
    orderlists: _api_root + "order/getOrderListss",
    getOrderInfo: _api_root + "order/getOrderInfo",
    WeightPrice: _api_root + "goods/WeightPrice",
    ServerOrder: _api_root + "order/ServerOrder", 
    OkOrder: _api_root + "order/OkOrder", 
    insertPrice:_api_root + "order/insertPrice",

    ServerOrderInfor: _api_root + "order/ServerOrderInfor",
    GiveOrder: _api_root + "order/GiveOrder", 
    Income: _api_root + "order/Income",
    insertPrice:_api_root + "order/insertPrice",

    navigation_bar_color: _api_root + "default/navigation-bar-color",
    shop_list: _api_root + "default/shop-list",
    navlist: _api_root + "user/NavList",
    shop_detail: _api_root + "default/shop-detail",
    topic_type: _api_root + "default/topic-type",
    buy_data: _api_root + "default/buy-data",
    goods_recommend: _api_root + "default/goods-recommend",
    OrderUploadsImg: _api_root + "order/OrderUploadsImg"
  },
  cart: {
    list: _api_root + "cart/list",
    add_cart: _api_root + "cart/add-cart",
    delete: _api_root + "cart/delete",
    cart_edit: _api_root + "cart/cart-edit"
  },
  card:{
    list: _api_root + "card",
    add: _api_root + "card/wxAdd",
    mylist: _api_root + "card/wxlist",
    default: _api_root + "card/defaults",
    del: _api_root + "card/del",
    CardDefault: _api_root + "card/CardDefault",
  },
  outprice:{
    out: _api_root + "outprice/Send",
  }
  ,
  passport: {
    login: _api_root + "passport/login",
    on_login: _api_root + "passport/on-login"
  },
  order: {
    sumbit_ShenHe: _api_root + "order/sumbit_ShenHe",
    Is_ShenHe: _api_root + "order/Is_ShenHe",
    YesJoint: _api_root + "order/YesJoint",
    submit_preview: _api_root + "order/submit-preview",
    submit: _api_root + "order/submit",
    pay_data: _api_root + "order/pay-data",
    list: _api_root + "order/list",
    revoke: _api_root + "order/revoke",
    confirm: _api_root + "order/confirm",
    count_data: _api_root + "order/count-data",
    detail: _api_root + "order/detail",
    refund_preview: _api_root + "order/refund-preview",
    refund: _api_root + "order/refund",
    refund_detail: _api_root + "order/refund-detail",
    comment_preview: _api_root + "order/comment-preview",
    comment: _api_root + "order/comment",
    express_detail: _api_root + "order/express-detail",
    clerk: _api_root + "order/clerk",
    clerk_detail: _api_root + "order/clerk-detail",
    get_qrcode: _api_root + "order/get-qrcode",
    location: _api_root + "order/location",
    out_balance: _api_root + "order/out_balance",
    out_price: _api_root + "order/out_price",
    balance: _api_root + "order/balance",
    rechargePay: _api_root + "order/rechargePay",
    pricePay: _api_root + "order/pricePay",
    priceMsg: _api_root + "order/priceMsg",
    orderMsg: _api_root + "order/orderMsg",
    uploadimg: _api_root + "order/uploadimg",
    uploadyp: _api_root + "order/uploadyp",
    CheckOpenid: _api_root + "order/CheckOpenid",
    confirmOrder: _api_root + "order/confirmOrder",

    playMsg: _api_root + "order/playMsg",
    UpMoney: _api_root + "Outprice/UpMoney",
    alipaySend: _api_root + "Outprice/alipaySend",
  },
  user: {
    address_list: _api_root + "user/address-list",
    mess: _api_root + "user/mess",
    money: _api_root + "user/money",
    address_detail: _api_root + "user/address-detail",
    address_save: _api_root + "user/address-save",
    UserMember: _api_root + "user/UserMember",
    address_set_default: _api_root + "user/address-set-default",
    address_delete: _api_root + "user/address-delete",
    save_form_id: _api_root + "user/save-form-id",
    favorite_add: _api_root + "user/favorite-add",
    favorite_remove: _api_root + "user/favorite-remove",
    favorite_list: _api_root + "user/favorite-list",
    index: _api_root + "user/index",
    wechat_district: _api_root + "user/wechat-district",
    add_wechat_address: _api_root + "user/add-wechat-address",
    topic_favorite: _api_root + "user/topic-favorite",
    topic_favorite_list: _api_root + "user/topic-favorite-list",
    member: _api_root + "user/member",
    card: _api_root + "user/card",
    card_qrcode: _api_root + "user/card-qrcode",
    card_clerk: _api_root + "user/card-clerk",
    bank: _api_root + "user/bank",
    card_sub: _api_root + "user/card_sub",
    bank: _api_root + "user/bank",
    content: _api_root + "user/content",
    balance: _api_root + "user/balance",
    xiaoxi: _api_root + "user/userXuanShang",
    UserMember: _api_root + "user/UserMember",
    usertag:_api_root+"user/usertag",
    tagadd:_api_root+'user/tagadd',
    tagdel: _api_root + 'user/tagdel',
    membertag: _api_root + 'user/membertag',
    qrcode: _api_root + 'user/qrcode',
    message: _api_root + 'user/message',
    rewardmoney: _api_root + "user/rewardmoney",
    getmap: _api_root + "user/getmap",
  },
  Coupon:{
    list: _api_root + "coupon/couponList",
    getcoupon: _api_root + "coupon/getcoupon",
    RedUser: _api_root + "coupon/RedUser",
    coupon: _api_root + "coupon/coupon",
    status: _api_root + "coupon/status",
    actRed: _api_root + "coupon/actRed",
    getActCoupon: _api_root + "coupon/getActCoupon",
    getCouponList: _api_root + "coupon/getCouponList",
  },
  message: {
    list: _api_root + "message/listMe",
    info: _api_root + "message/info",
    clause: _api_root + "message/clause",
  },
  member:{
    info: _api_root + "member/memberinfo",
    memberinfo: _api_root + "member/memberinfos",
    show: _api_root + "member/show",
    sign: _api_root + "member/sign",
    pay: _api_root + "member/pay",
    study: _api_root + "member/study",
    memberin: _api_root + "member/memberin",
    viptime: _api_root + "member/viptime",
    rebate: _api_root + "user/get_vip",
   }
};

module.exports = api;